using System;
using FytSoa.Common.Utils;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Application.Cm;

/// <summary>
/// 社区-勋章
/// </summary>
public class CmMedalDto : AppEntity
{
    /// <summary>
    /// 勋章名称
    /// </summary>
    [Required]
    public string Name { get; set; }

    /// <summary>
    /// 勋章图片
    /// </summary>
    public string Img { get; set; }

    /// <summary>
    /// 获得条件
    /// </summary>
    public string Summary { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateTime { get; set; } = DateTime.Now;
}